package cn.wolfcode.crm.qo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Setter@Getter
public class SalaryQueryObject extends QueryObject {
    private Long titleId;
    private Long deptId;
    private String jopNumber;
    private String name;
    private Long eduId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date date;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date bigenDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endDate;

    public SalaryQueryObject() {
        titleId = Long.valueOf(-1L);
        deptId = Long.valueOf(-1L);
        eduId = Long.valueOf(-1L);
    }
}
